/*
 * Copyright (c) 2017, cxy7.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.b3log.solo.model;

/**
 * This class defines all user model relevant keys.
 *
 * @author <a href="http://cxy7.com">XyCai</a>
 * @version 1.0.0.8, Feb 7, 2011
 */
public final class User {

	/**
	 * User.
	 */
	public static final String USER = "user";

	/**
	 * Users.
	 */
	public static final String USERS = "users";

	/**
	 * Key of user name.
	 */
	public static final String USER_NAME = "userName";

	/**
	 * Key of user email.
	 */
	public static final String USER_EMAIL = "userEmail";

	/**
	 * Key of user URL.
	 */
	public static final String USER_URL = "userURL";

	/**
	 * Key of user password.
	 */
	public static final String USER_PASSWORD = "userPassword";

	/**
	 * Key of user new password.
	 */
	public static final String USER_NEW_PASSWORD = "userNewPassword";

	/**
	 * Key of update time of this user.
	 */
	public static final String USER_UPDATE_TIME = "userUpdateTime";

	/**
	 * Key of user role.
	 */
	public static final String USER_ROLE = "userRole";
	// Relations ///////////////////////////////////////////////////////////////
	/**
	 * {@linkplain Role#ROLE_ID Role id} of this user.
	 */
	public static final String USER_ROLE_ID = "userRoleId";
	// End of Relations ////////////////////////////////////////////////////////

	/**
	 * Private default constructor.
	 */
	private User() {
	}
}
